package com.ffggffgfv.backend.dto;

import java.util.Date;
import java.util.List;

/**
 * 管理员信息数据传输对象
 */
public class AdminInfoDTO {

    private Long id;                 // 管理员ID
    private String username;         // 用户名
    private String avatarUrl;        // 头像URL
    private Integer status;          // 状态
    private Date createTime;         // 创建时间
    private List<String> roles;      // 角色列表
    private List<String> permissions;// 权限列表

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }
}
